Closed Bug 1951491 Opened 3 months ago Closed 3 months ago

Don't build libpkix in static builds

Categories

(NSS :: Build, defect)

defect

Tracking

(Not tracked)

RESOLVED FIXED

People

(Reporter: RyanVM, Assigned: RyanVM)

References

(Regression)

Details

(Keywords: regression)

Attachments

(1 file)

Prior to bug 1854095, libpkix was excluded from the Mac opt-static builds as the primary consumer of them is Application Services where that is the build configuration used:
https://hg.mozilla.org/projects/nss/rev/627896a4dda9e31e4acb132f8b840c7d49113ea4#l26.321

Now that libpkix is being included in the builds, it's causing downstream build bustage for Application Services.

error: linking with `/builds/worker/clang/bin/clang-18` failed: exit status: 1
  |
  = note: env -u IPHONEOS_DEPLOYMENT_TARGET -u TVOS_DEPLOYMENT_TARGET -u XROS_DEPLOYMENT_TARGET LC_ALL="C" ...
  = note: Undefined symbols for architecture x86_64:
            "_PKIX_Initialize", referenced from:
                _nss_Init in libnss_sys-b52db2944730ac0d.rlib(nss_static.nssinit.o)
          ld: symbol(s) not found for architecture x86_64
          clang-18: error: linker command failed with exit code 1 (use -v to see invocation)

:jcristau, since you are the author of the regressor, bug 1854095, could you take a look? Also, could you set the severity field?

For more information, please visit BugBot documentation.

Flags: needinfo?(jcristau)

Don't build libpkix in static builds. r=nkulatova,releng-reviewers,bhearsum
https://hg.mozilla.org/projects/nss/rev/cbd491e26b948fcbbd98150ba5886284ff0278ea

Assignee: nobody → ryanvm
Status: NEW → RESOLVED
Closed: 3 months ago
Flags: needinfo?(jcristau)
Resolution: --- → FIXED

Thanks Ryan!

You need to log in before you can comment on or make changes to this bug.

Attachment

General

Created:
Updated:
Size: